package com.example._05mvcboot02.mapper;

import com.example._05mvcboot02.pojo.entity.User;
import com.example._05mvcboot02.pojo.entity.UserVo;
import com.example._05mvcboot02.pojo.vo.UserListVo;
import lombok.Data;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

//@Mapper
public interface UserMapper {
    int insert(User user);

    List<UserListVo> userList();

    int deleteUserId(Long id);

    int updateUser(User user);

    UserVo selectById (Long id);
}
